package com.tencent.hummingbird.portal.service;

import com.tencent.hummingbird.portal.pojo.UserCollect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yxb
 * @since 2024-01-10
 */
public interface IUserCollectService extends IService<UserCollect> {
    Integer countCollectsByUserId(Integer userId);
    Integer cancelCollect(String username,Integer questionId);
    void addCollect(String username,Integer questionId);
    Integer selectCollectStatus(String username,Integer questionId);
}
